﻿@model IEnumerable<QBWeb.Models.QuestionFolder.QuestionTb>
@{
    ViewBag.Title = "Choose";
}

<table class="table table-hover">
    <thead>
        <tr>
            <th></th>
            <th>
                题目
            </th>
            <th>
                题型
            </th>
            <th>
                难度
            <th></th>
        </tr>
    </thead>

    @foreach (var item in Model)
    {
        <tr>
            <td>
                <input type="checkbox" name="praise" class="choose" value="@item.Id" id="getval" />
            </td>
            <td>
                <span id="QuestName_@item.Id">@item.QuestName</span>
            </td>
            <td>
                <span id="TypeName_@item.Id" data-type="@item.QuestTypeTbId">@item.QuestTypeTb.TypeName</span>
            </td>
            <td>
                <span id="QuestLevel_@item.Id">@item.QuestLevel</span>
            </td>
            <td>
                <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#Modal" btn_Item="@item.Id">
                    查看详情
                </button>
            </td>
        </tr>
    }

</table>
<div>
    <input type="text" id="chooseValue" name="SetQuestionID" value="@ViewBag.str" />
    <input id="insertQuest" type="submit" value="选择" />
</div>
    